Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(8) misc(tests): Add type check to tests #4017

Merged
merged 61 commits into from
Aug 16, 2024
Merged

Conversation

krystofwoldrich
Copy link
Member

@krystofwoldrich krystofwoldrich commented Aug 12, 2024

📢 Type of change

  • Enhancement

📜 Description

Before this PR jest would use babel to strip typings without type check. Thus there were some type issues in the test suit which are now fixed as the tests won't run until tsc passes.

💚 How did you test it?

ci, locally run yarn test

fixes: #3502

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • All tests passing
  • No breaking changes

🔮 Next steps

#skip-changelog

krystofwoldrich and others added 30 commits June 3, 2024 18:39
package.json Outdated Show resolved Hide resolved
Base automatically changed from kw/ref-navigation-integrations to v6 August 14, 2024 07:58
An error occurred while trying to automatically change base from kw/ref-navigation-integrations to v6 August 14, 2024 07:58
Copy link
Contributor

github-actions bot commented Aug 14, 2024

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 482.15 ms 541.21 ms 59.06 ms
Size 17.73 MiB 20.04 MiB 2.31 MiB

Copy link
Contributor

github-actions bot commented Aug 14, 2024

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1222.85 ms 1225.82 ms 2.97 ms
Size 2.36 MiB 3.06 MiB 713.36 KiB

Copy link
Contributor

github-actions bot commented Aug 14, 2024

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1236.98 ms 1236.85 ms -0.13 ms
Size 2.92 MiB 3.62 MiB 719.22 KiB

Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you

@krystofwoldrich krystofwoldrich merged commit baa0217 into v6 Aug 16, 2024
52 of 53 checks passed
@krystofwoldrich krystofwoldrich deleted the kw/add-tsc-to-tests branch August 16, 2024 10:24
@krystofwoldrich krystofwoldrich restored the kw/add-tsc-to-tests branch August 16, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants